package com.kclm;

import com.kclm.config.SpringConfig;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.test.context.junit.jupiter.SpringJUnitConfig;


/**
 * @Author : lvhx
 * @Date: 2025/11/4 16:34
 * @Description:
 */
//@RunWith(SpringJUnit4ClassRunner.class)
//@SpringJUnitConfig(locations = "classpath:spring.xml")
@SpringJUnitConfig(classes = SpringConfig.class)
public class JunitTest5Basic {
    @Autowired
    private JdbcTemplate jdbcTemplate;

    @Test
    public void testo1(){
        System.out.println(1111111);
        System.out.println(jdbcTemplate);
    }
}
